<?php
require_once("admin_global.php");    //加载后台全局调用类文件
$db->Get_user_shell_check($uid,$shell);   //后台登录控制

//服务器相关信息
$server_name=$_SERVER['SERVER_NAME'];      //服务器名称
$server_ip=$_SERVER['SERVER_ADDR'];        //服务器地址
$server_type=$_SERVER['SERVER_SOFTWARE'];  //服务器类型
$server_path=dirname(__DIR__);     //程序路径
$mysql_ver="MySQL ".$db->mysql_server(1);   //mysql 版本
$upload_size=ini_get('upload_max_filesize');    //最大文件上传尺寸

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>后台中部右侧</title>
<link rel="stylesheet" href="css/right.css" type="text/css" /> 
</head>
<body>
  <div id="right_main">
     <div class="right_content">
         <div class="right_top_menu">
             <h3>
                您当前的位置：后台 > 管理首页
             </h3>
         </div>
         <div class="right_center_content">
              <table cellpadding="0" cellspacing="0" border="0" width="100%">
                  <tr>
                     <td valign="top" >
                         <div class="txl_search"></div>
                         <table cellpadding="0" cellspacing="0" border="0" width="100%"  class="sy_table">
                            <tr>
                               <th colspan="2">服务器信息</th>
                            </tr>
                            <tr>
                              <td width="25%">服务器名称</td>
                              <td width="75%"><?php echo $server_name; ?></td>
                            </tr> 
                            <tr>
                              <td width="25%">服务器IP</td>
                              <td width="75%"><?php echo $server_ip; ?></td>
                            </tr> 
                            <tr>
                              <td width="25%">服务器类型</td>
                              <td width="75%"><?php echo $server_type; ?></td>
                            </tr> 
                            <tr>
                              <td width="25%">程序路径</td>
                              <td width="75%"><?php echo $server_path; ?></td>
                            </tr> 
                            <tr>
                              <td width="25%">MySQL版本</td>
                              <td width="75%"><?php echo $mysql_ver; ?></td>
                            </tr> 
                            <tr>
                              <td width="25%">文件上传限制</td>
                              <td width="75%"><?php echo $upload_size; ?></td>
                            </tr>                 
                   </table>
                     </td>
                  </tr>   
              </table>
         </div>
     </div>
  </div>
</body>
</html>
